package com.test1.dao;

import com.test1.model.Job;
import com.test1.model.User;
import com.test1.model.UserTest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserTestMapper {
    UserTest getUser (@Param("id") int id);
    int updateMoneyById(@Param("id") int id, @Param("money") String money);

    List<UserTest> getUserByAgeAndSchool(UserTest ut);

    int updateUserInfo(UserTest ut);
    List<UserTest> getUsersByAge(@Param("ages") List<String> ages);
    User getUserAndJobByUserId(@Param("id") int id);
    User getUserById(@Param("id") int id);

    List<Job> getJobAndUsers();


}
